# -*- coding: utf-8 -*-
# @Time : 2021/5/17 12:14 
# @Author : for 
# @File : errors.py 
# @Motto: good good study,day day up


from flask import render_template

from watchlist import app


@app.errorhandler(400)
def bad_request(e):
    return render_template('errors/400.html')


@app.errorhandler(404)
def bad_request(e):
    return render_template('errors/404.html')


@app.errorhandler(500)
def bad_request(e):
    return render_template('errors/500.html')
